package com.bgs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商品报损表
 * </p>
 *
 * @author Nero
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Reporting对象", description="商品报损表")
public class Reporting implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "报损id")
    @TableId(value = "reporting_id", type = IdType.AUTO)
    private Integer reportingId;

    @ApiModelProperty(value = "商品id")
    private Integer commodityId;

    @ApiModelProperty(value = "报损数量")
    private Integer quantity;

    @ApiModelProperty(value = "损坏原因")
    private String reason;

    @ApiModelProperty(value = "损坏描述")
    private String describe;

    @ApiModelProperty(value = "门店id")
    private Integer storeId;

    @ApiModelProperty(value = "损坏状态")
    private Integer reportingState;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime creationTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除（y是删除 n是未删除）")
    private String isDel;


}
